﻿CREATE PROCEDURE [dbo].[ETL_SP_GetSummary4DtTableCount]
AS
select
(select COUNT(DT.Id) from ETL_DtTable as DT) as TotalCount,
(select COUNT(DT.Id) from ETL_DtTable as DT where DT.IsRawDt=1) as RawTableCount,
(select COUNT(DT.Id) from ETL_DtTable as DT where DT.IsRawDt=0) as NoneRawTableCount
RETURN 0
